package com.weiqiao.mall.service.vo.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author ChenYF
 * @Description
 * @Date 2020/7/25 15:19
 */
@Data
public class OrderVO {
    @ApiModelProperty("公司id")
    private int company_id;

    @ApiModelProperty("订单编号")
    private String order_no;

    @ApiModelProperty("商品名称")
    private String commodity_name;

    @ApiModelProperty("用户名称")
    private String user_name;

    @ApiModelProperty("团队名称")
    private String team_name;

    @ApiModelProperty("订单状态")
    private Integer state;

    @ApiModelProperty("商品一级类别id")
    private String variety_id;

    @ApiModelProperty("邀请人姓名")
    private String recommend_name;

    @ApiModelProperty("创建日期")
    private String create_date;

    @ApiModelProperty("订单类型：0：信用卡订单 1：积分兑换订单 保存到数据库为int类型")
    @NotBlank(message = "订单类型不能为空")
    private String order_type;

    @ApiModelProperty("页码")
    private int page;

    @ApiModelProperty("每页个数")
    private int size;

    @ApiModelProperty("是否分批次导出")
    private int curpage;
}
